home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 2: Applications / Linux Cubed Series 2 - Applications.iso / math / gle-3.000 / gle-3 / gle / util / contour / i_sign.c < prev    next >
Encoding:
C/C++ Source or Header  |  1995-02-07  |  123 b   |  10 lines

  1. #include "f2c.h"
  2.  
  3. integer i_sign(a,b)
  4. integer *a, *b;
  5. {
  6. integer x;
  7. x = (*a >= 0 ? *a : - *a);
  8. return( *b >= 0 ? x : -x);
  9. }
  10.